package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.SmsReceiverConfigDao;
import com.seaboxdata.entity.SmsReceiverConfig;
import com.seaboxdata.service.SmsReceiverConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @author
 * @create 2020-08-25 9:10
 **/
@Service("smsReceiverConfigService")
public class SmsReceiverConfigServiceImpl extends ServiceImpl<SmsReceiverConfigDao,SmsReceiverConfig> implements SmsReceiverConfigService {
    @Autowired
    private SmsReceiverConfigDao smsReceiverConfigDao;
    @Override
    public List<SmsReceiverConfig> getEffectiveReceiver(Date date) {
        return smsReceiverConfigDao.getEffectiveReceiver(date);
    }
}
